package com.alibaba.citrus.cr.mn.order.center.facade.repository;

import com.alibaba.lattice2.epoch.sdk.model.Result;
import com.epoch.app.crforecastsales.domian.forecastorder.dto.QueryBySourceNoRequest;
import com.epoch.app.crforecastsales.model.dto.BatchQueryForecastByBizNoRequest;
import com.epoch.app.crforecastsales.model.dto.SearchForecastOrderRequest;
import com.epoch.app.crforecastsales.sdo.ForecastOrderSDO;

import java.util.List;

public interface ForecastOrderQueryRepository {

    ForecastOrderSDO queryDetail(String id);

    ForecastOrderSDO queryBySourceOrderNo(QueryBySourceNoRequest sourceNoRequest);

    List<ForecastOrderSDO> queryByOrderBizNo(List<String> bizOrderNos);

    List<ForecastOrderSDO> queryByOrderBizNo(List<String> bizOrderNos, List<String> orderTypeCodeList);

    List<ForecastOrderSDO> queryByOrderBizNoWithBizCode(BatchQueryForecastByBizNoRequest batchQueryForecastByBizNoRequest);

    Result<List<ForecastOrderSDO>> pageQueryByEs(SearchForecastOrderRequest searchForecastOrderRequest);

}
